package com.qf.first.pojo.bo;

import com.qf.first.entity.Order;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("管理系统各项数据")
public class MyData {
    @ApiModelProperty("商店数量")
    private int shopNum;
    @ApiModelProperty("用户数量")
    private int userNum;
    @ApiModelProperty("订单数量")
    private int orderSum;
    @ApiModelProperty("总资金")
    private double allPrice;
    @ApiModelProperty("订单集合")
    private List<Order> orderList;

    public MyData() {
    }

    public MyData(int shopNum, int userNum, int orderSum, double allPrice, List<Order> orderList) {
        this.shopNum = shopNum;
        this.userNum = userNum;
        this.orderSum = orderSum;
        this.allPrice = allPrice;
        this.orderList = orderList;
    }
}
